package org.openCage.artig;

/**
 * Created by IntelliJ IDEA.
 * User: stephan
 * Date: Oct 14, 2010
 * Time: 11:05:06 AM
 * To change this template use File | Settings | File Templates.
 */
public class AntCmd implements CmdArgs {
    private ArtigLogic elephants;

    public AntCmd( ArtigLogic ele ) {
        this.elephants = ele;
    }

    @Override
    public String getName() {
        return "ant";
    }

    @Override
    public void go() {
        elephants.init();

        new AntGen( elephants ).generate();        
    }

    @Override
    public String usage() {
        return null;  //To change body of implemented methods use File | Settings | File Templates.
    }
}
